file(GLOB srcs ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})

include_directories(../)

# shared library
ADD_LIBRARY(${PROJECT_NAME}_tflite SHARED ${srcs})

# static library
ADD_LIBRARY(${PROJECT_NAME}_tflite_static STATIC ${srcs})

SET_TARGET_PROPERTIES(${PROJECT_NAME}_tflite_static PROPERTIES OUTPUT_NAME "${PROJECT_NAME}_tflite")
SET_TARGET_PROPERTIES(${PROJECT_NAME}_tflite PROPERTIES CLEAN_DIRECT_OUTPUT 1)
SET_TARGET_PROPERTIES(${PROJECT_NAME}_tflite_static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
